<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="layui/css/layui.css"/>
		
		<title>layui入门</title>
	</head>
	<body>
		
	</body>
	<script src="layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var button = document.querySelector("button");
		button.onclick = function(){
			alert("我被点击");
		}
	</script>
</html>
